﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Huirui.Cavan.Presentation.Seedwork;
using Huirui.Cavan.Presentation.ViewModel.StockModule;
using Huirui.Cavan.Application.MainBoundedContext.StockModule;
using Huirui.Cavan.Domain.MainBoundedContext.StockModule;
using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;

namespace Huirui.Cavan.Presentation.Controller.StockModule
{
    public class StockOutApplyController : EntityController<StockOutApply, string, StockOutApplySearch, IStockOutApplyViewModel, IStockOutApplyAppService>, IStockOutApplyController
    {
        public override string ControllerName
        {
            get { return ControllerConst.STOCKOUTAPPLY; }
        }

        public override bool UseDenied
        {
            get { return false; }
        }

        public StockOutApplyController()
        {
            this.Model = ModelFactory.CreateModel<IStockOutApplyViewModel>();
        }
    }
}
